package com.adnaan.backend.common.event;

import lombok.Getter;

@Getter
public enum EventType {
    ORDER_CREATE("order_create", "订单创建"),
    ORDER_CANCEL("order_cancel", "订单取消"),
    AFTER_SALES_CREATE("after_sales_create", "售后申请"),
    ORDER_REMIND("order_remind", "提醒发货"),
    AFTER_SALES_APPLY_PASS("after_sales_apply_pass", "供货商申请通过"),
    AFTER_SALES_APPLY_REFUSE("after_sales_apply_refuse", "供货商申请拒绝");

    private final String code;
    private final String desc;

    EventType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}